package com.yykj.drup.server.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author zengg
 * @since 2022-03-22
 */
@Getter
@Setter
@Builder
@TableName("order_details")
@ApiModel(value = "OrderDetails对象", description = "")
public class OrderDetails {

    @ApiModelProperty("订单药店-药品信息主键ID")
    @TableId("id")
    private Integer id;

    @ApiModelProperty("订单主键ID")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty("订单药店标识ID")
    @TableField("stroe_id")
    private Integer stroeId;

    @ApiModelProperty("订单药店的名称")
    @TableField("stroe_name")
    private String stroeName;

    @ApiModelProperty("订单药品的标识ID")
    @TableField("product_Id")
    private Integer productId;

    @ApiModelProperty("订单药品的价格")
    @TableField("product_price")
    private BigDecimal productPrice;

    @ApiModelProperty("订单药品的名称")
    @TableField("product_name")
    private String productName;

    @ApiModelProperty("订单药品图片")
    private String productImg;

    @ApiModelProperty("订单药品的规格")
    @TableField("product_sku_alias")
    private String productSkuAlias;

    @ApiModelProperty("订单药品的数量")
    @TableField("product_number")
    private Integer productNumber;

    @ApiModelProperty("订单药品准字号")
    @TableField("product_approval_number")
    private String productApprovalNumber;

    @ApiModelProperty("订单药品厂商")
    @TableField("product_manufacturer")
    private String productManufacturer;




}
